package com.json.service.impl;

import java.util.List;

import org.appfuse.service.impl.GenericManagerImpl;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import com.json.dao.TaskMasterDao;
import com.json.model.TaskMaster;
import com.json.service.TaskMasterManager;

@Service("taskMasterManager")
public class TaskMasterManagerImpl extends GenericManagerImpl<TaskMaster, Long> implements
		TaskMasterManager {

	TaskMasterDao taskMasterDao;
	
	@Autowired
	public TaskMasterManagerImpl(TaskMasterDao taskMasterDao) {
		super(taskMasterDao);
		this.taskMasterDao = taskMasterDao;
	}


	
	@Override
	public List<TaskMaster> getTaskByDescription(String taskDescr) {
		// TODO Auto-generated method stub
		return taskMasterDao.getTasksByDescription(taskDescr);
	}

	

}
